//
//  STHairSerCell.m
//  YiYueHairdresser
//
//  Created by zhouzhouzhou on 2018/10/11.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import "STHairSerCell.h"

@implementation STHairSerCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    return self;
}


-(void)setHairSerCell:(STHairServerModel *)serDic{
    self.titleLab.text = serDic.name;
    self.detailLab.text =[NSString stringWithFormat:@"¥%0.2f",serDic.price];
    [self.headImg sd_setImageWithURL:[NSURL URLWithString:serDic.picture] placeholderImage:[UIImage imageNamed:@"m-add"]];
}

@end
